package com.jiezhuo.mapper.center;

import com.jiezhuo.entity.QuartzTaskInformations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 定时任务信息表 Mapper 接口
 * </p>
 *
 * @author com.jiezhuo
 * @since 2022-10-26
 */
public interface QuartzTaskInformationsMapper extends BaseMapper<QuartzTaskInformations> {
    int deleteByPrimaryKey(Long id);

    int insert(QuartzTaskInformations record);

    int insertSelective(QuartzTaskInformations record);

    QuartzTaskInformations selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(QuartzTaskInformations record);

    int updateByPrimaryKey(QuartzTaskInformations record);

    List<QuartzTaskInformations> selectList(Map<String, Object> map);

    Integer selectByTaskNo(String taskNo);

    QuartzTaskInformations getTaskByTaskNo(String taskNo);

    List<QuartzTaskInformations> getUnfrozenTasks(String status);
}
